package zhang.test.contyroller;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.sql.DataSource;

@RestController
@ConfigurationProperties(prefix = "zhang")
@Data
public class hello {

    private String sname;

    private Integer id=null;

    @GetMapping("user")
    public String user(){



        return "........";
    }
}
